<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/* ****************************************************************************
  NAIYUMIE KING WANG JJANG Front End Developer <naiyumie@gmail.com>
  FileType:CRLF, Encording:UTF-8, Tab&Space:4/4
  ------------------------------------------------------------------------
  TDD
**************************************************************************** */

class TmpSessionTest extends N_Controller {

	public function __construct(){
		parent::__construct();

	}
	function index(){
		$newdata = array(
                   'username'  => 'johndoe',
                   'email'     => 'johndoe@some-site.com',
                   'logged_in' => TRUE
               );

		//$sess =
		$this->session->set_userdata($newdata);
		nPrt($this->session->all_userdata());
		$this->nlog->put('test');
	}
	function get(){
		nPrt($this->session->all_userdata());
	}
}